package patterns.structures.proxy.net;

public class People implements Italk {
	private String username;
	private int age;

	People(String name, int age) {
		this.username = name;
		this.age = age;
	}

	@Override
	public void talk(String msg) {
		System.out.println("hi,my name is " + this.username + " age is "
				+ this.age);
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

}
